adding user cookie