began work on implementing local user auth, cleaned up node files