changed php login request to GET instead of POST