signout integration
add mercury logout function
INCOMPLETE COMMIT treeCategory