converted to one-site-logic: show unapproved requires login with pw,
register form can be shown and hidden;

removed unnecessary files;
added config;
refactoring;
format fix;