Sample Code for validating a user via email