Added two missing brackets in doLogin in HomeController