get_user_rank() is declared in functions_display.php so you have to include it as above. ;-)