renames authcontroller to basecontroller