building login screen to target user data via api