Replace cookies
Created by: fernao
During implementation of login via token (#162 (closed)), realized that cookies could be abandoned in order to more modern ways, such as Storage, a persistent local variable currently well supported (http://caniuse.com/#search=storage)