Work in progress login / register TDGs
Moving to an Active Record pattern instead of TDG; Much easier for codeigniter.
Input validation for registration