Setting the user_id as a cookie