adds user model and registration