Sort directories first. Add Sign Out confirmation. Fixed back button.