add user registration and login