Added appid to database and little change in contacts