13-8-2014 set user cos in cookie