use predicates for user & repo attrs