Whenever a user is signed in via google it gets sign in automatically. After clicking the logout button user must be logged out. And had to sign in again to proceed further.