registration & login fixes

yay