Sets cookies right after registration