add user has_many nodes association and spec