creating array of messages for current user