Added rules to Micropost and Users model