Poorly attempt to implement my own auth system.