Fixed the user sessions controller