check if user is activated during login