Added error checking to registration page. Fixed styling issues