refactor webservices so we have access to status messages in activities