Authenticate and validate login data