Update User.php

Implements $validation, getActivationHash, and override methods.