Move position of cookie info. Remove redundant code.