add my posts function and html file