Add login controller and login business logic.