Updated database config, added optional slashes on AJAX endpoints