viewAccount function added