made login cookies a unique temporary file to avoid collisions.
changed -data to -model paramater