Customize error handling

Customize error handling to fit the current theme. When not logged,
user is redirect to a login form. Caution : works with
tng-wordpress-plugin find :
http://www.tngforum.us/index.php?showtopic=8233&hl=privacy. Post #1