Update User.php

Smaller Bug fixes