added all our existing apis to api.factory.js - needs testing