Fixed bug with email verification