Fixed register css. And added errors to the register.