some admin related fix

include #51 some admin login related fix