Finally fixed https and a loggin index