Generated login controller.