fixed https redirects, fully functional now