added variable links based on logged in status