Issue #41: ajax calls + CSS

binded the onchange event and added some logic to the register button.
Plus CSS.