Multiple fixes for order view template, restrict search to logged in users