fixed some config for the header. Can now deploy better. Also added a few flash pages