add activerecord nesting and authentication/authorization Gem