Removed unused function

parseCookie function was not used anywhere so I removed it to clean up.