Added code to remove badge entries when the user removes the points that had qualified him or her for that badge.
Commented out the development code in the index.php file that forces a certain user login.