added filtering option to deployments index
added validations to forms