Added dashboard section and session detection for login page.