added htpasswd protection, added spids scripts, fixed php 5.5 vs 5.3 bugs