Some modifications for redirect functionality and form handling for the login form.

Going to work on the Registration form now.
Added a form validation structure into the controllers for easier handling of common validation tasks

The FormValidator class in addons can be extended easily for custom
field types