logout success and navigates to login page