Update app.php

add missing hook connect