Some refactoring (User apps page).