Added signup form and a function to generate a secret token