changed file extension for session compatibilities

changed files extension to .php from .html