Code cleaup; fixing nginx templates; getting input for htpasswds