Got email valiation and passing to redirect working