Updated model user with validations, passwords and passing validation tests