added HasAcceptElement
fix on HasAcceptedElement
added logging of requests
added route variables to context
improved error checking, documentation