added login required to update view