fixes wpf sample and null exception issue on exception login
added silverlight link