adds handler function called loginStatus that returns the userId, fbId, and login status of the current user