basic login and logout done