Login system finally working, with password hashing/salting. Rudimentary, but secure and usable