add role select function for user project relation