Logout clears the session user information
Database check