Setup login controller to work