#21 Fixed by adding condition to mainLayout.jsp and changing forward url in AcceptTermsController