Implemented email verification