added styles to register and some code