I've changed the projectName to be unique in database. So duplicate project name is forbidden.