signup page mostly done, actually sending the correct json back to the server