adding valid endpoint to login screen