updated sessions helper with methods to identify current user