fixed class_sessions controller