add capability and tests for sign out