login links and tree fix