make login fields required