fixed minor bugs on index and session page
merged