Secure /app/init

let's name the function