remove debug opts for query
simple auth mechanism added
simple auth mechanism added