Added cookie to the email for login