Added indexes to colums
Fixed duplicate entry add