Adding check for enroll server result and UI changes