added code for adding users.