Added session_model.php, configured autoload and little update in logic in session controller.