Added ability to edit users. Checks authorization to edit/update.