diff --git a/iTrust/WebRoot/util/PreRegisterPatient.jsp b/iTrust/WebRoot/util/PreRegisterPatient.jsp
index f465758b1602000a997ccbb37a25449ec87988a5..8241828ec222681cf80cee17672e10add7de2c92 100755
--- a/iTrust/WebRoot/util/PreRegisterPatient.jsp
+++ b/iTrust/WebRoot/util/PreRegisterPatient.jsp
@@ -66,17 +66,24 @@ if (formIsFilled) {
 
     	</div>
     	
-    <%
+    %
 
 
     	} catch(FormValidationException e){
-    %>
+%>
     	<div align=center>
     		<span class="iTrustError"> <%= StringEscapeUtils.escapeHtml(e.getMessage()) %></span>
     		<!-- StringEscapeUtils.escapeHtml(e.getMessage())  -->
     	</div>
-    <%
-    	}
+<%
+    	} catch (ITrustException ex) {
+%>
+        <div align=center>
+    		<span class="iTrustError"> <%= StringEscapeUtils.escapeHtml(ex.getMessage()) %></span>
+    		<!-- StringEscapeUtils.escapeHtml(e.getMessage())  -->
+    	</div>
+<%
+        }
     	
     	
     }else{
@@ -100,7 +107,7 @@ if (formIsFilled) {
 <br />
 <div style="width: 50%; text-align:left;">Please enter in the name of the Pre-registered
 patient, with a valid email address. If the user does not have an email
-address, use the hospital's email address, [insert pre-defined email],
+address, use the hospital&#39;s email address, [insert pre-defined email],
 to recover the password.</div>
 <br />
 <br />