fixed gallery issue
added test route for webhooks