Minor fixes, API change

- Fixing `cookie.set()` & `cookie.expire()` by making `path` a parameter