created utils namespace, added base64; parsing basic auth method