Update Main.java

initing session with data.