Added delete functionality and Join duplicate bug has been fixed