extract SERMainViewController from appDelegate