Authenticate to get user details, also provide to allow querying for testing