added cookie encryption
tweaked flash alerts a bit