login and logout

login and logout managing