modified how models are registered
add bcrypt