Debugging update

Debugged the Settings::updateSetting class function. It is now working properly, with correctly sanitized mysql inputs by using a switch/case whitelisting approach. Added the beginning of the password reset functionality, but no debugging has been done for this yet.