process chat page