Building CRUD function with Laravel4