Fixed respond_to json without authenticate