Add authorization and authentication to user edit