[src] add logging middleware
[src] add new logging midleware usage in main server; move user controller;