Limiting the chat log number (to reduce slowdown)
TODO- make ajax request when user scrolls up