adding AlreadyLogged check on /register and /login