Fixing syntax on buildLoginForm calls