render :json => {:errors => "disabled"}, :status => 404
elsif !auth_header
render :json => {:errors => "authorization required"}, :status => 401
render :json => {:errors => "disabled"}, :status => 404
elsif !auth_header
render :json => {:errors => "authorization required"}, :status => 401