fixed regex since it didn't allow users to register