Fixed long polling method (didn't check for 410 Gone response)

Fixed pin verification methods.

Smashed some bugs.