Added email authentication