Added exception class UserNotFound & better error handling