Update listener.php

Update function name.
Bug fixed: showing a proper link when user_id is not empty.