add users management but with few bugs