Modified error message

Modified error message:
When a user is not authorized to get some information about a user, the
program will write an Unauthorized message to the console.