Login and logout done and work.