Move dbcontext and log4net to base controller. Add global error handling to Global.asax Application_Error();