fixes successful login and logout behavior

fixes login and logout behavior, so login goes to users pages, logout goes to home. Did not fix unsuccessful login behavior yet!!

Also other stuff reconciling stuff I was working on with running changes. I don't think it's anything big.