Got rid of reload after obtaining session id