fixed redirects and added authorization for dispensaries