disabling cache on front page
added log function for session debugging