Add basic session, handle some faults such as wrong cmd.