some extra logic for getting getting the current user