Added authentication model and controller.