Debug issue with projects for non-Admin users
Fixes project list for non-Admin users
Users can view all public projects
Extracts data connection into common module. Cleans up code.