Added error handling in some corner cases.
Configurable after-login route redirect.
Removed demo files left when the controller was creatied.
Moved the project under the LGPL.