Dynamic Footers in json and login/logout links