finished refactoring chat_sess_srv