Better index.erb & http basic auth