Implemented logging

Logging in all PHP-Scripts