Added methods to User model for upgrading to Laravel 4.1.26

According to Laravel docs -> http://laravel.com/docs/upgrade#upgrade-4.1.26.