simplify user_can_edit_user -- many nested if/else's to one if