Update User.php

Replace reference to username and return email in getUsername