reposition login only when you are not logged in