//Retrieve user id
String id = args.get("id");
String link = args.get("link");
BlogManager blogManager = BlogManager.getInstance();
DataManager dataManager = DataManagerFactory.getInstance();
PersistenceManager pm = dataManager.newPersistenceManager();
//get user
User user = dataManager.getUserFromId(pm , id);
//check if blog exists
Blog blog = blogManager.getOrCreateSource(link);
if (blog == null){
//blog not found or not avaiable
TalkService.sendMessage(user.getId(),"blog not found ! :(");
return;