added code coverage on server start
Added logging to actions, plus tests