config production environment
redirect to root after registeration