Updated User model with secure password