made hubconnection as singleton and added promise property to Hub