organize init functions, fn_themes and fn_tpl go to fn_init
move $core_config['user'] to init.php, save user's last_update
remove login_session info from registry when user logged out