added login check if user is enabled