add log directory creation, add logging of the client access