implementation of  chat session dao