Added setting cookie to browser