Added logging in webinterface and formated code