add login and logout user functionality