Disable Shutdown prompt or solve it that it won't show
this user could loose data 


Then they had better tighten the data up.


  when I shutdown computer


Don't. Just close the lid. If it is plugged in, background processes (like XCode compilation) will still run. If not, it's their problem and if it is XCode that particular process will simply fail and get processed elsewhere.

There is really no need to shut down a Mac daily. Mine only get powered down for disassembly-level maintenance, and only get rebooted for updates.