Removed container injection
implemented new smarty function to trigger a redirection from template
Prevent the display of login and register page for logged in customer
php cs fixer