added models and changed registration controller to add user type