Combined Add New User and Edit User into one function.