added functionality to add users