Registration and Logout working.