Make the signup form functional

* Moved signup code to separate file
* Handle comments and languages

Change-Id: I9fb714d1a74934ac28e6dd2bcdd7c1b09e210a76