updated composer.lock, added example use for base controller