Added warning messages & fixed a cookies bug