api+, +logout, +error handling