added a session check to imageupload
fixed sysdate
worked on some stuff