render projects retrieved from db to the UI