Home page redirects to dashboard if already logged in.
Added next support for login.