added log messages to server side models and handlers