Added attributes to adding a team and ability to update
Put common form code into a single file