#- 'Close session' function added.
#- Updated index view.