added basic userauth and removed settings py from index