Multiprocess team validator

Fixed memory leak and also keeps the user's team as a string until it's validated