Added signed in check for Edit and Update