Refactored team members and added success message