major bug fixes when creating new account