MARI-47 MARI-48 updated to check duplicate sync friend from sqllite db