Refactored registration.jsp