switching Courses and Equations to injected sessions
switched all controllers to managing DB session