use mine functions to setup db access
add my.cnf
fix path to static content
simpler way of getting the client_ip