add swag to templates
auth and rating fixes