add dynamic navigation for non-logged in and logged in users