default controller to main for saving frontend default controller