generationg user model(has secure password feature added)