dynamically set host from query string to know where to talk back to api
set frame host when loading data from db too