add admin login support for all views
Merge pull request #1 from freeyoung/master

add admin login support for all views