Added user id to project function