Fix issue w logged out links going to logged in pgs and vice versa