Refactoring home_controller
Refactoring controllers to allow them to reuse their view across routes
converting settings pages to react