LoginActivity now retrieves and stores the session id.