Add cookies for multiple users at same ip

And added templating