fixed auth, view and render