Smashed the Login and Register Bugs.