change user image to data uri, address redirection porblem