teammember function to add new task