login and logout added