Show a notification message at the top of the window if it exists.
Refactoring the main template by moving the facebook functions to a separate javascript file.
Authenticating the user using an OpenID provider. Taking advantage of the OpenID library provided by the framework. Using form template helpers to handle HTTP form data submission and validation.