Added gate.session and now add handler for 404 into request.