adds login and logout