Added cookie session support and static middleware