save current user in cookie