Update functions.php

globalizes $current_user