fix models array, fix chat history, add server time, change chat sorting