edits to controller for users