content.html is meant to be overloaded by the user and it should just work so every logic needs to be put somewhere else