working with sidebar users and history