refactor list_projects view to use emptyView instead of checking for the length in the controller