Repaired your broken code.

login item requires correct naming and is case sensitive.
changed owner/group for the system files, seems to work better now.
added more requirements.