Login and Logout now working.