added basic auth and preliminary lay outs