tidy up user projects query