means to verify if registraction code is valid -- helps warn user on signup