Fixed php warnings about session already started