Create intent between MainActivity and LoginActivity.