Boilerplate for a Login/Register System powered by Smarty