Add session id in logs & rmv print_r

* Added session id in log context
* removed `print_r` in logs