Added password preparation on User model