add logout() view
problem with next after login