Added comments to session_manager

Commented functions and module.