DEV: Code update

- Modified GetMessages function
- Modified LodeMoreMessages function
- Modified GetFriendsList function
DEV: Code update