added user and repo to hooks