Logging to syslog

a bit of logging
Logging & get rid of mobile.php