added chat folder to .gitignore
buid in build folder, create log, img and chat folders when starting the server
file permissions