registration flag for username and email