Fix bug ios does not have current_user