changed (each) for (while) & set_user_details
changed (each) for (while) & set_user_details
refactoring
last commit