Chat message retrieval on login should pull only a certain number of messages, not all of them since the beginning of time. It should also support getting messages within certain timeslices, and messages matching certain text patterns or from a specific user.