make User model compatible with Laravel 4.1.26+