first update to frontend, partially broken
some changes to make the app work on localhost with apigw also on localhost
more changes to allow the app to work with apigw on localhost