Fix authorization and add check to see if the current user matches the member displayed on the edit page.