complete login validation