added click functianility to thumbnail for user