added get helper for session