remove unnecessary datetime formating
add datetime.datetime was permised data-type
fix text for 404 responses