Basic logging of user requests to MySQL added