Create functions-code

This is the code in functions.php where the hook is being customized to show a different directory to members versus people not logged in.