Changed endpoint for login page