fixed cookie bug, and made changes to bootstrap class