Fixed queriesSuccessful method
Cookie sessions working