Updated User Model

Added password update function