Add validation to user and microposts