fixed logout
fixed register