Save user's info into a cookie