fix upload image and save user setting
add images/avatars folder to gitignore
stop sync refreshing if ontraport not connected