removed temporary user sessions from code