Fix API access

Forgotten sudo
Fix hooks
Fix installed path
Rollback to post_user_create

Delete post_app_remove_access