configure log in redirects to dashboard