Added orders test page, refactored Auth, removed 'view' logic from backend.