Removed curly brackets usage around opening php tag in order to avoid rendering problem
Fixed bug of validating attributes when the password was in the Eloquent  attribute