fixed connexion and registration from other page that when ordering
working on filter, bug to fix (is sort == null || sort != value)