Hooked up dashboard page with login page