fixed some linking involving being logged in
Login/registration now works.