added controller for editing users