Implemented basic user stuff
Switch to pbkdf2 hashing. Fix tests.