created model relationship for user and micropost and validation for micropost