change repo refernce to user reference