Logout + fixes for not authenticated user