image refresh implemented

image refresh implemented and information stored in session.