Added location capabilities.
Added hooks for user login, logout and registration. Cleaned up custom code section and added explanations of all the shenanigans needed to get up and going.