Save logged in user in a persistent cookie

A similar question has been up before, don’t know if you’ve already had a peek at those. Not a lot of info, but maybe something to get you started if you were to investigate this further.