log in, log out, register all functional