Added validations and fixed bug with signalR hub connectionId