add character check and session load