resources call modified
adding resources for chat fucntionality