Added more fields to register table to temporarily store applications
before inserting new accounts into login. Also includes upgrade_xxxx.sql file