add randomKey for login
move adminLogin to ejs