Remove core.parseResponse method duplicate
Move flashmessages and baseUrl cookie routines to separate helper