added tags with success and error blocks, changed NSData to NSString in register device for websockets delegate