Enforced SSL and added sorting