add login system
fix history subtemplate, make it play nice with menu when embedding in player profile