- removed the date from the message schema

 - fixed a bug in messages and entry services and api
 - added logging to file for the server