complete register, login and logout
complete login register