Added subroutine to read user records