Revert "Added protection for different user pages"

This reverts commit c8ba4b804149315b6de538611f90db8d904de1a1.