User login/logout and cookies finished.