add BaseController file
update to laravel version 4.2