login validation support