Moving API settings to config.php file... Refactoring login functionality...Refactoring view removal and unbinding events...Formatting adjustments...