modify autoload error message
add session support
little modify