unique validation works
changed database "CREATE IF NOT EXISTS"  mechanism