Register services for signalr.