Refactoring; Get User details; Replaced getPageDetails