Important improvements to .htaccess and session handling.
Added PHP file for map.