made api only call in development, service now takes care of this