Added writing usernames and hashes to a file, fixed overflow when entering usernames/passwords.