CORE-4574: updated the bootstrap service to record the login and implemented a logout service to record the logout