Added validation to user and associations to microposts and user