Private named query

Lets the user add, update, and delete private named queries.