fix cli path
add session for admin controller
add send post function