Creating home controller and modifying database config