title: Prevent user from coming back to log-in page after logging-in in an Android Application
body: <p>I am making an Application which has Log-in form, so what i need is to make user enter His username and password only once means after entering all details once there will be no need to re-enter details again else he log-out. I reached to a point where i can save data in shared preferences but what i want is that my application run logging-in when restart  </p>