Removed errors from upgrade to laravel 5