single line to check login