add functionaliy for view session, and enable user to delete a session xwen2