Settings submission permission check.

Settings file existence and user session should be checked before allowing settings submission.

It should work now. Tested it several times.