Now using getapi for the whole process. No more firebase!