successfully make api call to backend using jwt token and have working redirection from the login functionality.