Secure /app/init

name the function