temp change to use cookies and authenticated redirects. Added profile/edit static section?