Added encrypt password when a user is created