Logincontroller mostly implemented

need still needs an ig check