adding habtm relationships to models