add registration and login and logout