added cookie for user id