works in a hacky way.

auth not yet implemented.

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>