modify chdeck_image_type
modify check_image_type/size and re_login bug fix