Added functions.php and userLogout.php files.