added has_many memberships to role for membership creation in dashboard

cc @fancyremarker