Working copy without errors.  Still need to implement remember me feature and move register to home controller.