Cleaned up , add protection , renamed function , added admin mode , ...