log in style code tweak
index session and no session