//Get user
DBObject dbo = DbManager.getSocial().getAuthentication().findOne(new BasicDBObject("username",username));
AuthenticationPojo ap = AuthenticationPojo.fromDb(dbo,AuthenticationPojo.class);
//change status to deactivate
ap.setAccountStatus(InfiniteEnums.AccountStatus.DISABLED);
DbManager.getSocial().getAuthentication().update(dbo, ap.toDb());
//remove any cookie this user has
removeCookies(ap.getProfileId().toString());
rp.setResponse(new ResponseObject("Deactivate Account",true,"Account deactivated successfully"));
}
catch (Exception e)