refactored main.html | wip replace ids with names