Calling correct function for cookie values
Merge pull request #3 from andytait/master

Calling correct function for cookie values