Clean up join process

Now support /join/1234 - also sanitise pin
bunch of changes. still in dev