Redirection to home when logged in

LogOff still has problems, but I'll fix that tomorrow