params creation for api call moved to a function
added chat status to user object
fetching chat status of profiled user