Login, Register, Logout now working