Removing error on UserSession logic