can login register and logout