remove unused code
Update check If user can assign project to team