Fix unknown attribute error by using has_many association for articles and users