Add validation for creating comments and creating images