Refactoring, better 404, investigated why HEAD methods didn't work