set up hibernate validator