Also made Register button work.

Also made Register button work.