renamed setCurrentUserSession to getCurrentUserSession