better login

and fixing some of the base stuff.