upload photo now working with session, hopefully