Adding function for batch adding users.