Added a BackgroundService for the connection and cleaned up LoginActivity
xts