I need to compare the username and password which is being entered by the user in a react native app with a Rest API(JSON format) which I had created earlier and allow if th