Added pm log to ignore list
refactored server code