add libs and user-permission