make me modular
add basic authentication