user model fixes for metadata retrieval