new login validation work