updated is_img regex and boot user function