switched to using indexes instead of having to type uuids
switched to indexes when displaying messages and replies