fix constructor call for Login