Hi, Thanks for reply.
A consider logging in user with administration privileges may cause security issues. I am worried about, if the logout fails for some reason. Next client accessing the site will be logged as admin.
I will try this code later. Just wondering is there a way without login as administrator. Like:
// add, modify, delete news. Etc... (without authentication)