adding project filter to getMessagesWIthTimestamp