modified User Model for laravel 4.1.28