Added elmah logs, refactor to admin index, refactor to teamController, fix error in login page.