controller now pulls from db and using g:each to loop through projects