add host and port config to database config
support custom logo