added login fields attached to controller