i have made a login and register pages with AUTH and it was working and after that ,I want to receive data from my database . so ,I change the if else statement after that the data match is working is not taking me to home page I tried some ways to fix it but it doesn't work error:Data Matched
so here we see the api is working my php code