fix upload image and save user setting
add images/avatars folder to gitignore