handled no pin, no comment scenario. implemented hashing of cookie. added expiry time to cookie.