Got a working logon going.

Also had to change some file perms to get things working.