Fix register, tie mole pool to database
Merge branch 'server' of https://github.com/AWDGroup/CMPT275-05 into server

Conflicts:
	api/utility.php