adds fields to sign up form, completes auth
Fixes bugs with the flash hash and sign in protocol