now able to determine whether or not a user is admin, and whether or not that user is logged in or not