change database adapter, add demo login button