Finishing chat service and moving logic from controller to service