add login and logout ability manually