Try this:
When you will start a new Activity
start like this:
// Launch Dashboard Screen
Intent dashboard = new Intent(getApplicationContext(),DashboardActivity.class);
// Close all views before launching Dashboard
dashboard.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(dashboard);
// Close Login Screen
finish();