ensure the user is trying to sign in is active otherwise an error will be rise