Added Cookie Detection

Cookie detection for login purposes