add admin login support for all views