Redirect when accounts is not json result