updated getAllMessages SQL query to return usernames, also added numBytes to metadata query