name uniqueness + login and logout