use toolbar middleware in stead of context processor