fix registration controller add template for jsf