added validations to dashboard forms