move html stringbuilding to render to use current id, not id at instanciation
layout for controller