Add basic validation for user and microposts