added styling to register form, extracted error messages to a partial (shared/errors)