Changed Endpoints for checking user credentials