Added view functionality to advisor_index.php