Moved functions around
Removed cookie support