Unit application, change to logincontroller