implement Quality login method