added express request handling