add lib and departPortlet