Added error message for duplicate emails