Added a comment in server to check for duplicates