first attempt at getting message.php working with new DB