user_institutions
added user_inst as a resource in client
Improved error handling.