Separate call for checking if user is logged in.