Add validation for User and Micropost models