refactoring user frame - step 1
Refactored user frame
refactored 4