registration works
added user login and logout