sessions nearly working, bug with updating author image