switch user and repo to proto