angular 7 redirecting to another page In Routes you have only one route - to dashboard - make second route to login