working devise authentication but not emailing, working cancancan, working letter opener, changed model so assignments belonged to user so it could authenticate just the two models