Added register menu function to functions.php