Integrated coinapi and user auth. Template cleanup