Add user sign-in cookie functionality