switch the register redirects
fix spelling
make login check for username