add https, add layout