added user icon image saving and display function