add project in user
refactor code