How to secure your application using a serial loader and secure boot manager