Updating database.yml and homepage layout