fixed sort/order, added logout
fixed sort/order, added logout