changet input to button in the register page; some minor reformating in the register script