modified User.findById to accommodate no record found