updated api so it can make basic requests to the missionhub api and log errors to the debug console. todo: parse responses and do complete error handling.