working version with only one user option