update ui, add password authentication