fixed our error in the getChats function in userChatSvc.js