I´ll add it to the list. I´ve not needed it myself, but I can see the use case for frontend function execution on app start.
Execution of functions on logout would be more tricky and might raise expectations that these functions are executed when a user leaves the application. Unfortunately we cannot guarantee this as it would be reliant on how the application is being left.