changes functions
Removed default session setting for image
changes function to get image