fixed sites and added http basic auth