Ideally the app should have (at a minimum) two sets of functionality. One which is available to logged in users and the second to all users (Of course this is generic, and would solely depend on what your app does)
Logging out would typically take the user to the non logged in functionality screen which can be anything (welcome screen, login screen, whatever.) Again it depends on your application.
Since you are the only one who knows what the application does, its for you to decide.
when i direct to login page it work fine.Anyway when i try to login again iti didn't login.I think its related to Oncreate method as it doesn't run twice.
I still have the issue.I added toas messages in on create and on click methods ,when i tried to login 2nd time none of toasts messages were shown.that means it doesn't execute any methods.can anyone please tell me where is the issue ?