added functionality to view list of projects in DB