Change redirect status code from 307 to 302
Add isSecure() method to Controllers\Controller{}