added sessions and logins