Refactor user forms to avoid repetition and update restriction to create and delete users