implement current time middleware & serving static content