switching to use STATIC_URL
referencing appropriate view
changing handling of api_key