Added error message to profile view.