salary: seperate db records generation and display into two functions, operating by user;