Some styling fixes. Added a global to turn on/off user registration. Also added a convenience method for variable validation in the Utilities class