Added host to database connection.
Fixed typo, small bugfixes