added user sessions
merged with sessions branch