added validations in create team