made sessions_controller, modeled after courses_controller