Updated the RedirectUrl helper to be more easire to extend.
Removed useless code
Modified RedirectUrl helper so that the condition can be easily modified
Fixed bug and added comment
Added extra check in the RedirectUrl helper for easier bug detection
Added missing password helper when creating the Authentication object
Improved the controller so it would be easier to integrate
Added a logger that shows error in php://stderr
Also added an extra check to avoid creating multiple instances of the Authentication object
Merge pull request #5 from brian978/feature/login_layout

Multiple improvements