lots of minor big fixes and refactors including fixing the registration code, the flash notices, and combining first and last name into just name