adding emails view, refactoring add and verify email to use the view