Many thanks to Kerigan for providing the original C code.
This commit mainly posts his code to zig.
Additional features provided by me are:
- automatically checking every 100ms
- request new login info for new usernames
Co-authored-by: Kerigan <kerigancreighton@gmail.com>