Fixed bugs in user sidebar