Adding checkacces to views