Added Login, Register, and Logout