serves latest image on index page
added imageapp dir
added env cookie field