Make login form trigger navigation to dashboard