added method isAdmin to MyReaderUser which returns true or false whether user has admin rights. refactored code to use isAdmin method