Getting data from connect