add exceptions and fix session
add exceptions and fix session 1
change swagger