Corrected teams controllor so teams are added to db as strings