Implemented basic logging server side