add create Function feature
add view log cmd