Restyled the register page and added error display