login register and logout done