Implemented user role determination for selected project.