edit user registration, fix email validation, edit spec