update validation of data models: user.rb, micropost.rb