the login and logout features has been finished