changes for registration, email permission and styling