Added json input auth