Add user model, user registration function